<?php $this->_extends('../_layouts/default_layout'); ?>
<?php $this->_block('contents'); ?>
<script type="text/javascript">
$(function(){
	$("#to_ebay").click(function(){
		$(this).attr("disabled", true);
		$("#get_token").show();
		window.open("<?=$url?>");
	});
});
</script>
<input type="button" id="to_ebay" value="点击到ebay授权" />
<br />
<form action="<?=url('Setting::Basic/EbayTokenCreateSave')?>" method="post">
<input type="hidden" name="shop_id" value="<?=$shop_id?>" />
<input type="hidden" name="session_id" value="<?=$session_id?>" />
<input id="get_token" style="display: none;" type="submit" value="授权成功后点击" />
</form>
<?php $this->_endblock();?>